<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        async function async1() {
            console.log(1);
            await async2();
            console.log(2);
        }

        async function async2() {
            console.log(3);
        }

        console.log(4);
        setTimeout(function() {
            console.log(5);
        }, 0)
        async1();
        new Promise(function(resolve) {
            console.log(6);
            resolve();
        }).then(function() {
            console.log(7);
        });
        console.log(8);

        // 黄发盛 4681375
        // 殷勇 41368275
        // 罗炜杰 41368725
        // 沈俊杰 41368275
        // 旭旭 41368275

        //
    </script>
</body>

</html>